package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysYongyouCprk;

/**
 * 产品入库Service接口
 * 
 * @author SYF
 * @date 2025-04-18
 */
public interface ISysYongyouCprkService 
{
    /**
     * 查询产品入库
     * 
     * @param vouchdate 产品入库主键
     * @return 产品入库
     */
    public SysYongyouCprk selectSysYongyouCprkByVouchdate(String vouchdate);

    /**
     * 查询产品入库列表
     * 
     * @param sysYongyouCprk 产品入库
     * @return 产品入库集合
     */
    public List<SysYongyouCprk> selectSysYongyouCprkList(SysYongyouCprk sysYongyouCprk);

    /**
     * 新增产品入库
     * 
     * @param sysYongyouCprk 产品入库
     * @return 结果
     */
    public int insertSysYongyouCprk(SysYongyouCprk sysYongyouCprk);

    /**
     * 修改产品入库
     * 
     * @param sysYongyouCprk 产品入库
     * @return 结果
     */
    public int updateSysYongyouCprk(SysYongyouCprk sysYongyouCprk);

    /**
     * 批量删除产品入库
     * 
     * @param vouchdates 需要删除的产品入库主键集合
     * @return 结果
     */
    public int deleteSysYongyouCprkByVouchdates(String[] vouchdates);

    /**
     * 删除产品入库信息
     * 
     * @param vouchdate 产品入库主键
     * @return 结果
     */
    public int deleteSysYongyouCprkByVouchdate(String vouchdate);

    public int deleteByDateRange(String startDate);
}
